package com.lingz.manager.common.utils;

import java.util.HashMap;
import java.util.Map;


/**
 * @Author: luxiaolin
 * @Description:
 * @Date: Create in 21:14 2020/3/28
 * @Modified By:
 */
public class FieldMappingUtil
{
    private String number;
    private String name;
    private String certificateType;
    private String idcard;
    private String phoneNum;
    private String familyAddress;
    private String isLocal;
    private String familyCounts;
    private String hasHouseCertificate;
    private String houseCertificateNum;
    private float houseCertificateArea;
    private String hasLandCertificate;
    private String landCertificateId;
    private float landCertificateArea;
    private String isSure;
    private String isAgree;
    private String parcelNumber;
    private String praticalUseage;
    private String approveUseage;
    private String parcelArea;
    private String belong;
    private String landType;
    private String belongType;
    private String parcelID;
    private String hasEmptyArea;
    private String address;
    private int floors;
    private String houseStructure;
    private String houseStatus;
    private float buildingArea;
    private float buildingBaseArea;
    private float tmpBuildingArea;
    private String comment;
    private float areaF1;
    private float areaF2;
    private float areaF3;
    private float areaF4;
    private float areaF5;
    private float areaB1;

    public static Map getFieldNameMapping()
    {
        Map map = new HashMap();
        map.put("编号", "number");
        map.put("权利人", "name");
        map.put("权利人证件类型", "certificateType");
        map.put("权利人证件号", "idcard");
        map.put("联系方式", "phoneNum");
        map.put("户籍所在", "familyAddress");
        map.put("是否本村户籍", "isLocal");
        map.put("户籍人口数", "familyCounts");
        map.put("是否有房产证", "hasHouseCertificate");
        map.put("房产证编号", "houseCertificateNum");
        map.put("房产证面积", "houseCertificateArea");
        map.put("是否有土地证", "hasLandCertificate");
        map.put("土地证编号", "landCertificateId");
        map.put("土地证面积", "landCertificateArea");
        map.put("确权情况", "isSure");
        map.put("改造意愿情况", "isAgree");
        map.put("宗地统一编码", "parcelNumber");
        map.put("实际用途", "praticalUseage");
        map.put("批准用途", "approveUseage");
        map.put("宗地面积", "parcelArea");
        map.put("土地所有权者", "belong");
        map.put("土地所有权类型", "landType");
        map.put("权属性质", "belongType");
        map.put("宗地特征码", "parcelID");
        map.put("院内是否有空地", "hasEmptyArea");
        map.put("坐落地址", "address");
        map.put("房屋层数", "floors");
        map.put("房屋结构", "houseStructure");
        map.put("房屋使用情况", "houseStatus");
        map.put("建筑面积", "buildingArea");
        map.put("建筑基底面积", "buildingBaseArea");
        map.put("临建面积", "tmpBuildingArea");
        map.put("备注", "comment");
        map.put("F1面积", "areaF1");
        map.put("F2面积", "areaF2");
        map.put("F3面积", "areaF3");
        map.put("F4面积", "areaF4");
        map.put("F5面积", "areaF5");
        map.put("B1面积", "areaB1");
        map.put("单位", "unit");
        map.put("是否是财政供养人", "isFinanceProvider");
        return map;
    }

    public static Map getFieldClassifyMapping()
    {
        Map map = new HashMap();
        map.put("编号", "权利人信息");
        map.put("权利人", "权利人信息");
        map.put("权利人证件类型", "权利人信息");
        map.put("权利人证件号", "权利人信息");
        map.put("联系方式", "权利人信息");
        map.put("户籍所在", "权利人信息");
        map.put("是否本村户籍", "权利人信息");
        map.put("户籍人口数", "权利人信息");
        map.put("是否有房产证", "权利人信息");
        map.put("房产证编号", "权利人信息");
        map.put("房产证面积", "权利人信息");
        map.put("是否有土地证", "权利人信息");
        map.put("土地证编号", "权利人信息");
        map.put("土地证面积", "权利人信息");
        map.put("确权情况", "权利人信息");
        map.put("改造意愿情况", "权利人信息");
        map.put("宗地统一编码", "宗地属性");
        map.put("实际用途", "宗地属性");
        map.put("批准用途", "宗地属性");
        map.put("宗地面积", "宗地属性");
        map.put("土地所有权者", "宗地属性");
        map.put("土地所有权类型", "宗地属性");
        map.put("权属性质", "宗地属性");
        map.put("宗地特征码", "宗地属性");
        map.put("院内是否有空地", "房屋信息");
        map.put("坐落地址", "房屋信息");
        map.put("房屋层数", "房屋信息");
        map.put("房屋结构", "房屋信息");
        map.put("房屋使用情况", "房屋信息");
        map.put("建筑面积", "房屋信息");
        map.put("建筑基底面积", "房屋信息");
        map.put("临建面积", "房屋信息");
        map.put("备注", "房屋信息");
        map.put("F1面积", "房屋信息");
        map.put("F2面积", "房屋信息");
        map.put("F3面积", "房屋信息");
        map.put("F4面积", "房屋信息");
        map.put("F5面积", "房屋信息");
        map.put("B1面积", "房屋信息");
        map.put("单位", "unit");
        map.put("是否是财政供养人", "isFinanceProvider");
        return map;
    }
}
